//
//  IGTimeSwitchApi.h
//  jingdongfang
//
//  Created by MTiMac01 on 2017/11/17.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGBaseRequest.h"

@interface IGTimeSwitchApi : IGBaseRequest
@property (nonatomic, copy) NSString *macId;        ///>设备的macId

@end

@interface IGTimeSwitch : IGBaseModel
@property (nonatomic, copy) NSString *macId;        ///>设备的macId
@property (nonatomic, copy) NSString *group;        ///>组别
@property (nonatomic, copy) NSString *switchs;        ///>开关 0关 1开
@property (nonatomic, copy) NSString *onTime;        ///>开机时间
@property (nonatomic, copy) NSString *offTime;        ///>关机时间
@property (nonatomic, copy) NSString *type;        ///>定时开关机模式 0每天 1工作日 2周末
@end
@protocol  IGTimeSwitch <NSObject>
@end

@interface IGTimeSwitchModel : IGBaseModel
@property (nonatomic, copy) NSArray <IGTimeSwitch>*powerTimes;
@end

@interface IGTimeSwitchResp : IGBaseResp

@property (nonatomic, copy) IGTimeSwitchModel *data;

@end
